package com.cesgroup.zw.spring.boot.library.echarts.line.complex;

import com.cesgroup.zw.spring.boot.charts.model.IChartsParam;
import com.cesgroup.zw.spring.boot.charts.model.IComponent;
import lombok.Builder;
import lombok.Data;

import java.util.Map;

/**
 * @author ytj
 * @date 2019/7/8 17:04
 */
@SuppressWarnings("serial")
@Builder
@Data
public class ComplexLineParam implements IChartsParam<ComplexLineSeries,Map<Object,Object[]>>{
    private Map<Object,Object[]> dataset;

    @Override
    public IComponent[] getSeries() {
        return new IComponent[]{new ComplexLineSeries(this)};
    }
}
